package BookTest;

public class C2FruitTest {
    public static void main(String[] args) {
        C2Ordinary a = new C2Ordinary("猕猴桃","绿色",5);
        a.spendMoney();

        C2Artificial b = new C2Artificial("猕猴桃","绿色",5);
        b.spendMoney();
    }
}
